#ifndef SOUND_H
#define SOUND_H

#include <SFML/Audio.hpp>
#include <map>

const int MAX_SOUNDS = 16;

namespace Sound
{
    void Load(std::string);
    sf::SoundBuffer &Get(std::string filename);
    void Play(std::string filename);

    static std::map<std::string, sf::SoundBuffer> soundMap;
    static sf::Sound sounds[MAX_SOUNDS];
}

namespace Music
{
    void Play(std::string filename, bool loop);
    static sf::Music music;
}

#endif
